<html>
<head>
    <link rel="stylesheet" type="text/css" href="css/ui-lightness/jquery-ui-1.8.11.custom.css">
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.11.custom.min.js"></script>


<script type="text/javascript">
	$(function() {
		$('#applyButton')
					.click(function() {
						$('.dialog-form').dialog( 'destroy' );
						$('.dialog-form').dialog({modal:true,position:'center'});
					});
	});

	</script>
</head>
<body>
<button type="button" id="applyButton">Apply</button>

 <div id="testSubjectContainer" data-module="Test Subject" style="display:none">

          <div class="dialog-form" title="List of URLs">
            <p>
              Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam gravida nisi sit amet dolor elementum feugiat. Phasellus pharetra quam quis nisi fermentum non dictum diam tristique. Pellentesque metus felis, lacinia ac interdum nec, elementum at nisl. Fusce malesuada imperdiet neque, id iaculis orci sodales cursus.
            </p>
            <p>
              Nulla ut risus nec quam pretium semper. Proin congue dictum sapien, at tincidunt sapien viverra non. Donec luctus eros vel urna ullamcorper gravida. Suspendisse vitae quam et lorem ornare adipiscing. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean ante leo, facilisis vel feugiat ac, ultricies quis sem.
            </p>
          </div>

        </div>
</body>
</html>